package com.softdev.service;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.softdev.dto.ProjectDto;
import com.softdev.dto.ProjectResultDto;
import org.springframework.data.domain.Page;

public interface ProjectService {

    boolean add(ProjectDto projectDto);

    Page<ProjectResultDto> page(int page , int size);

    boolean update(Long projectId) throws JsonProcessingException;

    ProjectResultDto get(Long projectId);

}
